package com.medusa.aps.business.modules.security.model.output;

import com.medusa.aps.business.common.security.model.enums.Roles;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Set;


/**
 * @author: xianhui.yu
 **/
@Data
@Accessors(chain = true)
public class UserInfoVO implements Serializable {

    private Long id;

    /**
     * 姓名
     */
    @Schema(description = "姓名")
    private String username;

    /**
     * 成员工号
     */
    @Schema(description = "成员工号")
    private String jobNumber;

    /**
     * 手机号码
     */
    @Schema(description = "手机号码")
    private String phone;

    /**
     * 邮箱
     */
    @Schema(description = "邮箱")
    private String email;

    /**
     * 职位
     */
    @Schema(description = "职位")
    private String position;

    /**
     * 车间
     */
    @Schema(description = "车间")
    private String workshopName;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remarks;
    /**
     * 角色
     */
    @Schema(description = "角色")
    private Set<String> roles;
    /**
     * 角色标记
     */
    @Schema(description = "角色标记")
    private Set<Roles> userRoles;
    /**
     * 菜单
     */
    @Schema(description = "菜单")
    private Set<String> menus;
    /**
     * 按钮
     */
    @Schema(description = "按钮")
    private Set<String> buttons;

}
